﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
  <session-factory>
    <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
    <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
    <property name="connection.connection_string">Data Source=.;Initial Catalog=Orders; Integrated Security=SSPI</property>
    <property name="show_sql">false</property>
    <property name="proxyfactory.factory_class">NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property>
    <property name="dialect">NHibernate.Dialect.MsSql2008Dialect, NHibernate</property>
    <property name="use_outer_join">true</property>
    <property name="adonet.batch_size">100</property>
    <property name="hbm2ddl.auto">update</property>
  </session-factory>
</hibernate-configuration>